package com.bw;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ImportResource;

/**
 * Created by qpx on 2017/9/7.
 */
@SpringBootApplication(scanBasePackages = {"com.bw.controller"})
@ImportResource({ "classpath:spring/spring-dubbo.xml" })
public class Main extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(Main.class,args);
    }
}
